package cn.funeralobjects.util;

/**
 * 扩展StringUtils，实现几个额外的方法进行更适合语义化
 * @author FuneralObjects
 * Create date: 2020/4/14 10:19 AM
 */
public class StringUtils extends org.springframework.util.StringUtils {

    public static boolean notEmpty(String str){
        return !isEmpty(str);
    }

    public static boolean isBlank(String str){
        return str == null || isEmpty(str.trim());
    }

    public static boolean notBlank(String str){
        return !isBlank(str);
    }
}
